home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / c / qtools0.2-src.lha / src / libqsys / rawmouse.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-13  |  416 b   |  20 lines

  1. #ifndef    RAWMOUSE_H
  2. #define    RAWMOUSE_H
  3.  
  4. struct mouseEvent {
  5.   unsigned char pressed;                    /* -1 if nothing */
  6.   short int mouseX, mouseY;                    /* these are absolute values, not delta-moves */
  7. };
  8.  
  9. #define RAWMOUSE_LEFT        0x68
  10. #define RAWMOUSE_RIGHT        0x69
  11. #define RAWMOUSE_MID        0x6A
  12.  
  13. #define    RAWMOUSE_NOTHING    0xFF
  14.  
  15. #define RAWQUAL_MIDBUTTON    0x1000
  16. #define RAWQUAL_RBUTTON        0x2000
  17. #define RAWQUAL_LEFTBUTTON    0x4000
  18.  
  19. #endif
  20.